<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class ImageButtonBean</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class ImageButtonBean</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">ImageButtonBean class</p>
<p class="description"><p>A simple JavaBean to encapsulate the request parameters sent for an HTML  input element of type image. Such an element causes two parameters to be  sent, one each for the X and Y coordinates of the button press. An instance  of this bean within an <div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../mvc/ActionForm.html">ActionForm</a></span></div></li>
</ol></div> can be used to capture these  and provide a simple means of detecting whether or not the corresponding  image was selected.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jeroen Simons &lt;<a href="mailto:jeroen@melange.nl">jeroen@melange.nl</a>&gt;</li>
				<li><span class="field">copyright:</span> Copyright (c) 2007 Jeroen Simons. All rights reserved</li>
				<li><span class="field">link:</span> <a href="http://www.melange.nl/">http://www.melange.nl/</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_mvc---util---ImageButtonBean.php.html">/mvc/util/ImageButtonBean.php</a> (line <span class="field">41</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																												
												<div class="method-definition">
											<span class="method-result">ImageButtonBean</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">x</span>&nbsp;<span class="var-name">$x</span> = <span class="var-default">null</span>], [<span class="var-type">y</span>&nbsp;<span class="var-name">$y</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#getX" title="details" class="method-name">getX</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#getY" title="details" class="method-name">getY</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#isSelected" title="details" class="method-name">isSelected</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setX" title="details" class="method-name">setX</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setY" title="details" class="method-name">setY</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$y</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">65</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Construct an instance with the supplied property values.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">ImageButtonBean</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">x</span>&nbsp;<span class="var-name">$x</span> = <span class="var-default">null</span>], [<span class="var-type">y</span>&nbsp;<span class="var-name">$y</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">x</span>
				<span class="var-name">$x</span><span class="var-description">: The X coordinate of the button press.</span>			</li>
					<li>
				<span class="var-type">y</span>
				<span class="var-name">$y</span><span class="var-description">: The Y coordinate of the button press.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetX" id="getX"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getX</span> (line <span class="line-number">75</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get x position</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			getX
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetY" id="getY"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getY</span> (line <span class="line-number">93</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get y position</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			getY
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisSelected" id="isSelected"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">isSelected</span> (line <span class="line-number">113</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">A convenience method to determine whether or not the corresponding  image element was selected.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			isSelected
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetX" id="setX"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setX</span> (line <span class="line-number">84</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set x position</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setX
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetY" id="setY"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setY</span> (line <span class="line-number">103</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set y position</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setY
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$y</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y</span>			</li>
				</ul>
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">__toString</span> (line <span class="line-number">120</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a string representation of this object.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Sun, 10 Feb 2008 15:16:17 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>